<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.mysql.fabric.xmlrpc.base.Value"%>
<%@page import="org.apache.struts2.ServletActionContext"%>
<%@page import="henu.bean.Communictor"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>联络员管理</title>
</head>
<body>
<form id="pagerForm" method="post" action="demo_page5.html">
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="commAction?action=querry" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					查询：
				</td>
				<td>
					<select class="combox" name="province">
						<option value="按姓名">按姓名</option>
						<option value="按课程">按课程</option>
					
					</select>
				</td>
				<td>要查询的值：<input type="text" name="value"/></td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="add_5.html" target="dialog"><span>添加</span></a></li>
			<li><a class="delete" href="commAction?action=delete&fId={sid_user}" target="navTab" title="删除"><span>删除</span></a></li>
			<li><a class="edit" href="commAction?action=updatebefore&fId={sid_user}" target="dialog"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="exportAction?name=communictor" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="100" align="center">学号</th>
				<th width="100" align="center">姓名</th>
				<th width="100" align="center">密码</th>
				<th width="100" align="center">班级名称</th>
				<th width="100" align="center">QQ</th>
				<th width="100" align="center">邮箱</th>
				<th width="70" align="center">联系电话</th>
				<th width="80" align="center">主要负责课程</th>
				<th width="150" align="center">次数统计</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="e" items="${communictor}">
			<tr target="sid_user" rel="${e.fId}">
				<td>${e.fId}</td>
				<td>${e.fName }</td>
				<td>${e.fPassword}</td>
				<td>${e.fClass }</td>
				<td>${e.fQQ }</td>
				<td>${e.fEmail }</td>
				<td>${e.fPhone }</td>
				<td>${e.fMianSubject }</td>
				<td>${e.fMemo }</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>共${totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>

	</div>
</div>

</body>
</html>